import fetch from "@/utils/fetch";
// 单项指标统计
export function GetDataByTarget(data) {
  return fetch({
    url: "/IndustrialParkForCloudStorehouse/GetDataByTarget",
    method: "post",
    data
  });
}
// 双项指标统计
export function GetDataByDoubleTarget(data) {
  return fetch({
    url: "/IndustrialParkForCloudStorehouse/GetDataByDoubleTarget",
    method: "post",
    data
  });
}
// 指定指标指定时间段按日按周按月 单项
export function GetDetailList(data) {
  return fetch({
    url: "/IndustrialParkForCloudStorehouse/GetDetailList",
    method: "post",
    data
  });
}
// 指定指标指定时间段按日按周按月 按类型、指标 增量（双项）
export function GetDoubleDetailList(data) {
  return fetch({
    url: "/IndustrialParkForCloudStorehouse/GetDoubleDetailList",
    method: "post",
    data
  });
}
// 获取指定时间段内发货区域热度分布
export function GetDeliveryAreaHeat(data) {
  return fetch({
    url: "/IndustrialParkForCloudStorehouse/GetDeliveryAreaHeat",
    method: "post",
    data
  });
}
// 看板商户出入库统计
export function GetWarehouseData(data) {
  return fetch({
    url: "/IndustrialParkForCloudStorehouse/GetWarehouseData",
    method: "post",
    data
  });
}
